﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;

namespace Business_Tier
{
    public class BT_HRM_DEPARTMENTData : MarshalByRefObject, IHRM_DEPARTMENTData//nhan f12
    {
        HRM_DEPARTMENTData DEPARTMENT = new HRM_DEPARTMENTData();
        public int HRM_DEPARTMENT_Delete(string DepartmentCode)
        {
            return DEPARTMENT.HRM_DEPARTMENT_Delete(DepartmentCode);
        }
        public int HRM_DEPARTMENT_Disable(string DepartmentCode, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet HRM_DEPARTMENT_Get(string DepartmentCode)
        {
            return DEPARTMENT.HRM_DEPARTMENT_Get(DepartmentCode);
        }
        public System.Data.DataSet HRM_DEPARTMENT_GetList()
        {
            return DEPARTMENT.HRM_DEPARTMENT_GetList();
        }
        public System.Data.DataSet HRM_DEPARTMENT_GetListByBranchCode(string BranchCode)
        {
            return DEPARTMENT.HRM_DEPARTMENT_GetListByBranchCode(BranchCode);
        }
        public int HRM_DEPARTMENT_Insert(string DepartmentCode, string BranchCode, string DepartmentName, string Phone, int Quantity,
            int FactQuantity, string Description)
        {
            return DEPARTMENT.HRM_DEPARTMENT_Insert(DepartmentCode, BranchCode, DepartmentName, Phone, Quantity, FactQuantity, Description);
        
        }
        public int HRM_DEPARTMENT_Save(string DepartmentCode, string BranchCode, string DepartmentName, string Phone, int Quantity,
            int FactQuantity, string Description)
        {
            return DEPARTMENT.HRM_DEPARTMENT_Save(DepartmentCode, BranchCode, DepartmentName, Phone, Quantity, FactQuantity, Description);
        }
        public int HRM_DEPARTMENT_Update(string DepartmentCode, string BranchCode, string DepartmentName, string Phone, int Quantity,
            int FactQuantity, string Description)
        {
            return DEPARTMENT.HRM_DEPARTMENT_Update(DepartmentCode, BranchCode, DepartmentName, Phone, Quantity, FactQuantity, Description);
        }
   
        
    }
}
